package naga.x.net.impl.pomelo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import naga.x.net.impl.pomelo.protocol.Message;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface PomeloMessage {
	int routeCode() default -1;
	String route() default "";
	Message.Type type() default Message.Type.REQUEST;
}
